package com.xr.file.enums;

public enum ResultEnum {

    SUCCESS(10000, "执行成功"),
    ERROR(50000, "执行失败");

    private final Integer code;
    private final String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
